| Room |
| EntityType | Independent |
| Logical Entity Name | Room |
| Default Table Name | AdRoom |
| Logical Only | NO |
| Definition | |
| Note |
| Room Attributes |
| Attribute/Logical Rolename | Domain | Datatype | NULL | Definition |
| Code | CHAR(8) | NO | ||
| Name | VARCHAR(35) | NO | ||
| BuildingNumber | CHAR(10) | NO | ||
RoomId |
INTEGER | NO | ||
BuildingId |
INTEGER | YES | ||
| RoomNumber | CHAR(10) | NO | ||
| Capacity | INTEGER | NO | ||
| IsActive | BIT | NO | ||
| ModFlag | CHAR(1) | NO | ||
| LastModifiedUserId | INTEGER | NO | ||
| CreatedDateTime | DATETIME | NO | ||
| LastModifiedDateTime | DATETIME | NO | ||
| IsConflictsChecked | BIT | NO | ||
| RowVersion | TIMESTAMP/DATE | NO | ||
BuildingId |
INTEGER | YES | ||
ClassSectionMeetingDateId |
INTEGER | YES |
| Room Keys |
| Key Name | Key Type | Keys |
| AdRoom_AdRoomID_CheckConflicts_U_N_IDX | Alternate Key | BuildingId, IsConflictsChecked |
| AdRoom_AdBuildingID_Code_U_N_IDX | Unique Constraint | BuildingId, Code |
| AdRoom_AdRoomID_U_C_IDX | PrimaryKey | RoomId |
| Room Relationships |
| Parent Relationships: |
| Entity Name | Type | Cardinality | Business Name | VerbPhrase | InversePhrase | Foreign Keys | Is Supertype |
| Building | Non-Identifying | Zero or One to Zero or More | BuildingId | NO | |||
| Building | Non-Identifying | Zero or One to Zero or More | BuildingId | NO | |||
| ClassSectionMeetingDate | Non-Identifying | Zero or One to Zero or More | ClassSectionMeetingDateId | NO |
| Child Relationships: |
| Entity Name | Type | Cardinality | Business Name | VerbPhrase | InversePhrase | Foreign Keys | Is Subtype |
| RoomResource | Non-Identifying | One To Zero or More | NO | ||||
| ClassSectionMeetingSchedule | Non-Identifying | Zero or One to Zero or More | NO | ||||
| RoomResource | Non-Identifying | One To Zero or More | NO |
| Room Check Constraints |
| Check Constraint Name | CheckConstraint |